﻿using System.ComponentModel;

using DaprPlus.AspNetCore;
using DaprPlus.AutoMapper;
using DaprPlus.Builder;

using Shares.Infrastructure.AspNetCore;
using Shares.Infrastructure.Redis;

using Todos.Api.Startups;
using Todos.Application;
using Todos.Infrastructure.Authorization;
using Todos.Infrastructure.AutoMapper;
using Todos.Infrastructure.EntityFrameworkCore;


namespace Todos.Api;

[Description("Todos启动模块")]
[DependsOnModules(
    typeof(DaprAspNetCoreModule)
    , typeof(RedisModule)
    , typeof(AutoMapperModule)
    , typeof(OpenApiModule)
    , typeof(SqlServerEntityFrameworkCoreModule)
    , typeof(AuthorizationModule)
    , typeof(GamesAutoMapperModule)
    , typeof(TodosAppModule)
)]
public class StartupModule : AspModuleBase
{ }

